<?php

namespace App\Repositories;

use App\Models\Options;
use InfyOm\Generator\Common\BaseRepository;

/**
 * Class OptionsRepository
 * @package App\Repositories
 * @version July 23, 2018, 3:50 am UTC
 *
 * @method Options findWithoutFail($id, $columns = ['*'])
 * @method Options find($id, $columns = ['*'])
 * @method Options first($columns = ['*'])
*/
class OptionsRepository extends BaseRepository
{
    /**
     * @var array
     */
    protected $fieldSearchable = [
        'code',
        'content',
        'question_id'
    ];

    /**
     * Configure the Model
     **/
    public function model()
    {
        return Options::class;
    }
}
